package com.tyl.factory工厂模式.test;

import com.tyl.factory工厂模式.jk.Car;
import com.tyl.factory工厂模式.CarFactron;

/**
 * @author 消费者
 */
public class Consumer {

    public static void main(String[] args) {
        Car car = CarFactron.getBmw();
        Car car1 = CarFactron.getMustang();
        car.car();
        car1.car();
    }
}
